package com.zwl.po;

import java.sql.Timestamp;
import java.util.List;

public class UserPo {
	private Integer id;
	private String loginName;
	private String password;
	private Integer createdId; 
	private Timestamp createdTime; 
	private Integer updatedId; 
	private Timestamp updatedTime;
	private Integer isActive;
	
	private UserDetailPo userDetail;
	private List<RolePo> roleList;
	
	public UserPo() {
		super();
	}
	public UserPo(Integer id, String loginName, String password) {
		super();
		this.id = id;
		this.loginName = loginName;
		this.password = password;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getCreatedId() {
		return createdId;
	}
	public void setCreatedId(Integer createdId) {
		this.createdId = createdId;
	}
	public Timestamp getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}
	public Integer getUpdatedId() {
		return updatedId;
	}
	public void setUpdatedId(Integer updatedId) {
		this.updatedId = updatedId;
	}
	public Timestamp getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}
	public UserDetailPo getUserDetail() {
		return userDetail;
	}
	public void setUserDetail(UserDetailPo userDetail) {
		this.userDetail = userDetail;
	}
	public Integer getIsActive() {
		return isActive;
	}
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	public List<RolePo> getRoleList() {
		return roleList;
	}
	public void setRoleList(List<RolePo> roleList) {
		this.roleList = roleList;
	}
}
